package com.ruoyi.applet.service;

import com.ruoyi.applet.domain.Goods;
import com.ruoyi.applet.domain.UserLogin;
import com.ruoyi.applet.domain.UsrBrowseTime;
import com.ruoyi.applet.domain.vo.UsrLikeBrowse;
import com.ruoyi.system.api.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户信息Service接口
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
public interface IUserService 
{
    User selectUsrPhoneANDPassword(String usrPhone, String usrPassword);

    Boolean insertAllBoolean(UserLogin user);

    Integer selectAllByUerNameInteger( String usrName);

    Integer selectByUsrPhoneInteger( String usrPhone);

    Integer selectAllByUsrIdLikeInteger( Long usrId);

    Integer selectAllByUsrIdBrowseInteger( Long usrId);

    List<UsrLikeBrowse> selectAllByUsrIdLikeList( Long usrId);

    List<UsrBrowseTime> selectAllByBrowseTime( Long usrId);

    List<UsrLikeBrowse> selectAllByUsrIdBrowseList( Long usrId);

    Boolean deleteByUsrIdBoolean( Long goodsId);

    Boolean deleteByGoodsIdBoolean(Long usrId, Long goodsId);

    Integer selectAllByUsrIdAndGoodsId( Long usrId, Long goodsId);

    User selectByUsrName(String nikeName);

    Integer insertUserLikeGoods( Long usrId, Long goodsId);

    Integer deleteAll( Long usrId);

    User selectUsrIdUser( Long usrId);
}
